{% extends 'login_mu.html' %}
{% block title %}
    <title>登陆</title>
{% endblock %}
{% block form %}
    <form action="" method="post" id="loginForm" novalidate="novalidate">
        {% csrf_token %}
        <div>
            <input type="text" name="username" class="username valid" placeholder="用户名" autocomplete="off" value="admin"
                   aria-required="true" aria-invalid="false">
        </div>
        <div>
            <input type="password" name="password" class="password" placeholder="密码" oncontextmenu="return false"
                   onpaste="return false">
        </div>
        <br>
        <span style="color: red" class="error">{{ error }}</span>
        <button id="submit" type="submit">登 陆</button>
    </form>
    <a href="{% url 'register' %}">
        <button type="button" class="register-tis">还有没有账号？</button>
    </a>

{% endblock %}


